From b9d59b7d1748d75b8abdf90d0ab5aeaf614135fc Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Thu, 12 Jun 2008 16:09:08 +0100 Subject: [PATCH] x86: machine_halt() forcibly re-enables IRQs as it may be called from panic() which itself may be called in an IRQ-safe critical section. Signed-off-by: Keir Fraser --- xen/arch/x86/shutdown.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/arch/x86/shutdown.c b/xen/arch/x86/shutdown.c index 6b41e739eb..a65771575f 100644 --- a/xen/arch/x86/shutdown.c +++ b/xen/arch/x86/shutdown.c @@ -90,6 +90,7 @@ void machine_halt(void) { watchdog_disable(); console_start_sync(); + local_irq_enable(); smp_call_function(__machine_halt, NULL, 1, 0); __machine_halt(NULL); } -- 2.30.2